$(function(){
	$("#marquee").marquee({
		auto: true,
		interval: 3000,
		direction: 'forward',
		speed: 500,
		showNum: 5,
		stepLen: 2,
		type: 'horizontal',
		prevElement: null,
	});
	$("#slider,#slider1").nivoSlider({
        effect: 'random',
        slices: 15,
        boxCols: 8,
        boxRows: 4,
        animSpeed: 500,
        pauseTime: 3000,
        startSlide: 0,
        directionNav: true,
        controlNav: false,
        controlNavThumbs: false,
        pauseOnHover: true,
        manualAdvance: false,
        prevText: 'Prev',
        nextText: 'Next',
        randomStart: false,
	});
	$(".m-touch>ul.touch-tab>li").click(function(){
		$(this).addClass('hover').siblings().removeClass('hover');
		$(".m-touch>ul.touch-content>li").eq($(this).index()).addClass('active').siblings().removeClass('active');
	})
})